package struct.bridge;

/**
 * @Author: fxy
 * @Date: 2022/03/14/13:21
 * @Description:
 */
public class Demo {
    public static void main(String[] args) {
        Shape redCircle = new Circle(100,100, 10, new RedCircle());
        Shape greenCircle = new Circle(100,100, 10, new GreenCircle());

        redCircle.draw();
        greenCircle.draw();
    }
}
